/**
 * Created by Freeman on 2016/7/14.
 */
import {AUTH_LOAD} from '../constants/ActionTypes'
import avatar from '../../../static/img/logo.svg'
const initialState = {
    user: {
        id: 1,
        name: 'React',
        img: avatar
    }
};
export default function auth(state=initialState,action={}) {
    switch (action.type){
        case AUTH_LOAD:
            return state;
        default :
            return state;
    }
}